#ifndef NEWS__H
#define NEWS__H

#include <string>
#include <algorithm>
#include <cctype>
#include <time.h>
using namespace std;
//TODO:Definir formato de entrada de fechas(por ahora es un epoch)
class News
{
private:
	string title;
	string description;
	time_t date;
public:
	News();
	News(const string & title, const string & description, const time_t & date);
	virtual ~News(){};
	void setTitle(const string &title);
	void setDescription(const string &description);
	void setDate(const time_t &date);
	const string & getTitle()const;
	const string & getDescription()const;
	const time_t & getDate()const;
	
};

#endif
